export const mutToken = (state, token) => {
  state.token = token;
};

export const mutEvents = (state, events) => {
  state.events = events;
};

export const mutUser = (state, user) => {
  state.user = user;
};

export const mutUserEvents = (state, userEvents) => {
  state.userEvents = userEvents;
};

